Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split data with \n\n to parse body out of event #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eschmidbauer
Copy link

example event payload
EVENTS PLAIN CUSTOM mod_audio_stream::json

Event-Name: CUSTOM
Core-UUID: 559e0a0a-1b58-4fb6-963c-572f706e0c57
FreeSWITCH-Hostname: 93ea90ab51a8
FreeSWITCH-Switchname: 93ea90ab51a8
FreeSWITCH-IPv4: 172.17.0.2
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-08-25%2022%3A09%3A58
Event-Date-GMT: Fri,%2025%20Aug%202023%2022%3A09%3A58%20GMT
Event-Date-Timestamp: 1693001398921599
Event-Calling-File: mod_audio_stream.c
....
variable_result: %2BOK%20Success%0A
variable_current_application: park
Content-Length: 138

{"path": "b5a879f5-1d1a-4444-b560-d5a1517b7c64", "message_id": "a94ebf42-b554-430f-910c-65286a8bbac4", "final": false, "sentence": "test"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant